import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IGuildPrx } from "./IGuildPrx";
import { AMI_IGuild_accelerateUpdateGuildStruture } from "./AMI_IGuild_accelerateUpdateGuildStruture";
import { EGuildStructureType } from "../Public/EGuildStructureType";
import { EOperOption } from "./EOperOption";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IGuild_addFireWood } from "./AMI_IGuild_addFireWood";
import { AMI_IGuild_addGuildReiki } from "./AMI_IGuild_addGuildReiki";
import { AMI_IGuild_adoptGuildAltarBeast } from "./AMI_IGuild_adoptGuildAltarBeast";
import { AMI_IGuild_antiImpeach } from "./AMI_IGuild_antiImpeach";
import { AMI_IGuild_applyGuild } from "./AMI_IGuild_applyGuild";
import { AMI_IGuild_applyGuildWarehouse } from "./AMI_IGuild_applyGuildWarehouse";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
import { AMI_IGuild_applyPlayersGuild } from "./AMI_IGuild_applyPlayersGuild";
import { AMI_IGuild_assignGuildWarehouse } from "./AMI_IGuild_assignGuildWarehouse";
import { DictStrIntHelper } from "../Public/DictStrIntHelper";
import { AMI_IGuild_assignGuildWarehouseEx } from "./AMI_IGuild_assignGuildWarehouseEx";
import { EGuildAssignType } from "./EGuildAssignType";
import { SeqIntHelper } from "../Public/SeqIntHelper";
import { AMI_IGuild_bookParty } from "./AMI_IGuild_bookParty";
import { EGuildPartyType } from "./EGuildPartyType";
import { AMI_IGuild_buyGuildShopItem } from "./AMI_IGuild_buyGuildShopItem";
import { AMI_IGuild_buyGuildSpace } from "./AMI_IGuild_buyGuildSpace";
import { AMI_IGuild_buyMarketItem } from "./AMI_IGuild_buyMarketItem";
import { SMarketRecordGuild } from "../Public/SMarketRecordGuild";
import { AMI_IGuild_cancelApply } from "./AMI_IGuild_cancelApply";
import { AMI_IGuild_cancelApplyGuildWarehouse } from "./AMI_IGuild_cancelApplyGuildWarehouse";
import { AMI_IGuild_cancelSell } from "./AMI_IGuild_cancelSell";
import { AMI_IGuild_cancelUpdateGuildStruture } from "./AMI_IGuild_cancelUpdateGuildStruture";
import { AMI_IGuild_changeGuildPlan } from "./AMI_IGuild_changeGuildPlan";
import { SGuildPlan } from "./SGuildPlan";
import { AMI_IGuild_changeGuildPurpose } from "./AMI_IGuild_changeGuildPurpose";
import { AMI_IGuild_changeGuildStrategy } from "./AMI_IGuild_changeGuildStrategy";
import { AMI_IGuild_changePlayerGuildData } from "./AMI_IGuild_changePlayerGuildData";
import { AMI_IGuild_changeYYQQ } from "./AMI_IGuild_changeYYQQ";
import { AMI_IGuild_createGuild } from "./AMI_IGuild_createGuild";
import { AMI_IGuild_dealApply } from "./AMI_IGuild_dealApply";
import { AMI_IGuild_dealInvite } from "./AMI_IGuild_dealInvite";
import { AMI_IGuild_destroyGuildWarehouse } from "./AMI_IGuild_destroyGuildWarehouse";
import { AMI_IGuild_disbandGuild } from "./AMI_IGuild_disbandGuild";
import { AMI_IGuild_donateMoney } from "./AMI_IGuild_donateMoney";
import { AMI_IGuild_drawGuildWarehouse } from "./AMI_IGuild_drawGuildWarehouse";
import { AMI_IGuild_feedGuildAltarBeast } from "./AMI_IGuild_feedGuildAltarBeast";
import { AMI_IGuild_getAllGuildWarehouseApplys } from "./AMI_IGuild_getAllGuildWarehouseApplys";
import { AMI_IGuild_getApplyList } from "./AMI_IGuild_getApplyList";
import { AMI_IGuild_getAward } from "./AMI_IGuild_getAward";
import { AMI_IGuild_getFireWood } from "./AMI_IGuild_getFireWood";
import { AMI_IGuild_getGuildActivityInfo } from "./AMI_IGuild_getGuildActivityInfo";
import { AMI_IGuild_getGuildAttendanceInfo } from "./AMI_IGuild_getGuildAttendanceInfo";
import { AMI_IGuild_getGuildAuraEvent } from "./AMI_IGuild_getGuildAuraEvent";
import { AMI_IGuild_getGuildBoxReward } from "./AMI_IGuild_getGuildBoxReward";
import { AMI_IGuild_getGuildCallBackList } from "./AMI_IGuild_getGuildCallBackList";
import { AMI_IGuild_getGuildInfo } from "./AMI_IGuild_getGuildInfo";
import { AMI_IGuild_getGuildPlayerInfo } from "./AMI_IGuild_getGuildPlayerInfo";
import { AMI_IGuild_getGuildShopItems } from "./AMI_IGuild_getGuildShopItems";
import { AMI_IGuild_getGuildSpaceList } from "./AMI_IGuild_getGuildSpaceList";
import { AMI_IGuild_getGuildStructure } from "./AMI_IGuild_getGuildStructure";
import { AMI_IGuild_getGuildStruggleInfo } from "./AMI_IGuild_getGuildStruggleInfo";
import { AMI_IGuild_getGuildTreeRipeTime } from "./AMI_IGuild_getGuildTreeRipeTime";
import { AMI_IGuild_getGuildUnionApplyList } from "./AMI_IGuild_getGuildUnionApplyList";
import { AMI_IGuild_getGuildWarehouseApplys } from "./AMI_IGuild_getGuildWarehouseApplys";
import { AMI_IGuild_getGuildWarehouseRecords } from "./AMI_IGuild_getGuildWarehouseRecords";
import { AMI_IGuild_getGuildWarehouses } from "./AMI_IGuild_getGuildWarehouses";
import { AMI_IGuild_getGuildWarehousesEx } from "./AMI_IGuild_getGuildWarehousesEx";
import { AMI_IGuild_getImpeachStatus } from "./AMI_IGuild_getImpeachStatus";
import { AMI_IGuild_getMyGuildUnion } from "./AMI_IGuild_getMyGuildUnion";
import { AMI_IGuild_getMySells } from "./AMI_IGuild_getMySells";
import { AMI_IGuild_getPartyDiscount } from "./AMI_IGuild_getPartyDiscount";
import { AMI_IGuild_getPartyInfo } from "./AMI_IGuild_getPartyInfo";
import { AMI_IGuild_guildMail } from "./AMI_IGuild_guildMail";
import { AMI_IGuild_guildUnionAgree } from "./AMI_IGuild_guildUnionAgree";
import { AMI_IGuild_guildUnionApply } from "./AMI_IGuild_guildUnionApply";
import { AMI_IGuild_guildUnionQuit } from "./AMI_IGuild_guildUnionQuit";
import { AMI_IGuild_guildWelcome } from "./AMI_IGuild_guildWelcome";
import { AMI_IGuild_impeachGuildLeader } from "./AMI_IGuild_impeachGuildLeader";
import { AMI_IGuild_invitePlayer } from "./AMI_IGuild_invitePlayer";
import { AMI_IGuild_memberComeBack } from "./AMI_IGuild_memberComeBack";
import { AMI_IGuild_memberOper } from "./AMI_IGuild_memberOper";
import { EGuildPosition } from "./EGuildPosition";
import { AMI_IGuild_moveGuildWarehouseEx } from "./AMI_IGuild_moveGuildWarehouseEx";
import { AMI_IGuild_openGuildDefense } from "./AMI_IGuild_openGuildDefense";
import { EDifficultyOption } from "../Public/EDifficultyOption";
import { AMI_IGuild_openGuildEliteCopy } from "./AMI_IGuild_openGuildEliteCopy";
import { AMI_IGuild_openGuildRobCityOne } from "./AMI_IGuild_openGuildRobCityOne";
import { AMI_IGuild_openGuildStruggle } from "./AMI_IGuild_openGuildStruggle";
import { AMI_IGuild_operGuildWarehouse } from "./AMI_IGuild_operGuildWarehouse";
import { EGuildWarehouseOper } from "./EGuildWarehouseOper";
import { SPlayerItem } from "../Public/SPlayerItem";
import { AMI_IGuild_raiseContribution } from "./AMI_IGuild_raiseContribution";
import { AMI_IGuild_replyGuildWarehouse } from "./AMI_IGuild_replyGuildWarehouse";
import { AMI_IGuild_searchGuilds } from "./AMI_IGuild_searchGuilds";
import { AMI_IGuild_sellItem } from "./AMI_IGuild_sellItem";
import { AMI_IGuild_shakeGuildTree } from "./AMI_IGuild_shakeGuildTree";
import { AMI_IGuild_summonGuildAltarBeast } from "./AMI_IGuild_summonGuildAltarBeast";
import { AMI_IGuild_updateGuild } from "./AMI_IGuild_updateGuild";
import { AMI_IGuild_updateGuildName } from "./AMI_IGuild_updateGuildName";
import { AMI_IGuild_updateGuildStruture } from "./AMI_IGuild_updateGuildStruture";
import { AMI_IGuild_updatePlayerGuildData } from "./AMI_IGuild_updatePlayerGuildData";
import { EUpdateType } from "../Public/EUpdateType";
import { EEntityAttribute } from "../Public/EEntityAttribute";
import { AMI_IGuild_upgradeGuildHouse } from "./AMI_IGuild_upgradeGuildHouse";
type int = number;
//class IGuildPrxHelper
    
    export  class IGuildPrxHelper extends RMIProxyObject implements IGuildPrx
    {
        constructor()
        {
            
            super();name = "IGuild";
            return;
        }

        public accelerateUpdateGuildStruture_async(arg1: AMI_IGuild_accelerateUpdateGuildStruture, arg2: EGuildStructureType, arg3: EOperOption, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("accelerateUpdateGuildStruture");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addFireWood_async(arg1: AMI_IGuild_addFireWood, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addFireWood");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addGuildReiki_async(arg1: AMI_IGuild_addGuildReiki, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addGuildReiki");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public adoptGuildAltarBeast_async(arg1: AMI_IGuild_adoptGuildAltarBeast, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("adoptGuildAltarBeast");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public antiImpeach_async(arg1: AMI_IGuild_antiImpeach): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("antiImpeach");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public applyGuild_async(arg1: AMI_IGuild_applyGuild, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("applyGuild");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public applyGuildWarehouse_async(arg1: AMI_IGuild_applyGuildWarehouse, arg2: string, arg3: int, arg4: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("applyGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            DictIntIntHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public applyPlayersGuild_async(arg1: AMI_IGuild_applyPlayersGuild, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("applyPlayersGuild");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public assignGuildWarehouse_async(arg1: AMI_IGuild_assignGuildWarehouse, arg2: int, arg3: Map<any, any> /* flash.utils.Dictionary */, arg4: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("assignGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            DictStrIntHelper.write(loc3, arg3);
            DictIntIntHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public assignGuildWarehouseEx_async(arg1: AMI_IGuild_assignGuildWarehouseEx, arg2: EGuildAssignType, arg3: Array<any>, arg4: Map<any, any> /* flash.utils.Dictionary */, arg5: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("assignGuildWarehouseEx");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            SeqIntHelper.write(loc3, arg3);
            DictStrIntHelper.write(loc3, arg4);
            DictIntIntHelper.write(loc3, arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public bookParty_async(arg1: AMI_IGuild_bookParty, arg2: EGuildPartyType, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("bookParty");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyGuildShopItem_async(arg1: AMI_IGuild_buyGuildShopItem, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyGuildShopItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyGuildSpace_async(arg1: AMI_IGuild_buyGuildSpace, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyGuildSpace");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyMarketItem_async(arg1: AMI_IGuild_buyMarketItem, arg2: SMarketRecordGuild): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyMarketItem");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cancelApply_async(arg1: AMI_IGuild_cancelApply, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cancelApply");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cancelApplyGuildWarehouse_async(arg1: AMI_IGuild_cancelApplyGuildWarehouse, arg2: string, arg3: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cancelApplyGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            DictIntIntHelper.write(loc3, arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cancelSell_async(arg1: AMI_IGuild_cancelSell, arg2: number): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cancelSell");
            var loc3;
            (loc3 = new SerializeStream()).writeLong(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public cancelUpdateGuildStruture_async(arg1: AMI_IGuild_cancelUpdateGuildStruture, arg2: EGuildStructureType): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("cancelUpdateGuildStruture");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeGuildPlan_async(arg1: AMI_IGuild_changeGuildPlan, arg2: int, arg3: SGuildPlan): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeGuildPlan");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeGuildPurpose_async(arg1: AMI_IGuild_changeGuildPurpose, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeGuildPurpose");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeGuildStrategy_async(arg1: AMI_IGuild_changeGuildStrategy, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeGuildStrategy");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changePlayerGuildData_async(arg1: AMI_IGuild_changePlayerGuildData, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changePlayerGuildData");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeYYQQ_async(arg1: AMI_IGuild_changeYYQQ, arg2: EOperOption, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeYYQQ");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public createGuild_async(arg1: AMI_IGuild_createGuild, arg2: int, arg3: EOperOption, arg4: string, arg5: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("createGuild");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            arg3.__write(loc3);
            loc3.writeString(arg4);
            loc3.writeString(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dealApply_async(arg1: AMI_IGuild_dealApply, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dealApply");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dealInvite_async(arg1: AMI_IGuild_dealInvite, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dealInvite");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public destroyGuildWarehouse_async(arg1: AMI_IGuild_destroyGuildWarehouse, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("destroyGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public disbandGuild_async(arg1: AMI_IGuild_disbandGuild): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("disbandGuild");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public donateMoney_async(arg1: AMI_IGuild_donateMoney, arg2: EOperOption, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("donateMoney");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawGuildWarehouse_async(arg1: AMI_IGuild_drawGuildWarehouse, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public feedGuildAltarBeast_async(arg1: AMI_IGuild_feedGuildAltarBeast, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("feedGuildAltarBeast");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getAllGuildWarehouseApplys_async(arg1: AMI_IGuild_getAllGuildWarehouseApplys): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getAllGuildWarehouseApplys");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getApplyList_async(arg1: AMI_IGuild_getApplyList, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getApplyList");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getAward_async(arg1: AMI_IGuild_getAward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getAward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getFireWood_async(arg1: AMI_IGuild_getFireWood, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getFireWood");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildActivityInfo_async(arg1: AMI_IGuild_getGuildActivityInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildActivityInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildAttendanceInfo_async(arg1: AMI_IGuild_getGuildAttendanceInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildAttendanceInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildAuraEvent_async(arg1: AMI_IGuild_getGuildAuraEvent): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildAuraEvent");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildBoxReward_async(arg1: AMI_IGuild_getGuildBoxReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildBoxReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildCallBackList_async(arg1: AMI_IGuild_getGuildCallBackList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildCallBackList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildInfo_async(arg1: AMI_IGuild_getGuildInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildPlayerInfo_async(arg1: AMI_IGuild_getGuildPlayerInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildPlayerInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildShopItems_async(arg1: AMI_IGuild_getGuildShopItems): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildShopItems");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildSpaceList_async(arg1: AMI_IGuild_getGuildSpaceList, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildSpaceList");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildStructure_async(arg1: AMI_IGuild_getGuildStructure): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildStructure");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildStruggleInfo_async(arg1: AMI_IGuild_getGuildStruggleInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildStruggleInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildTreeRipeTime_async(arg1: AMI_IGuild_getGuildTreeRipeTime): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildTreeRipeTime");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildUnionApplyList_async(arg1: AMI_IGuild_getGuildUnionApplyList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildUnionApplyList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarehouseApplys_async(arg1: AMI_IGuild_getGuildWarehouseApplys): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarehouseApplys");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarehouseRecords_async(arg1: AMI_IGuild_getGuildWarehouseRecords): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarehouseRecords");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarehouses_async(arg1: AMI_IGuild_getGuildWarehouses): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarehouses");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarehousesEx_async(arg1: AMI_IGuild_getGuildWarehousesEx): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarehousesEx");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getImpeachStatus_async(arg1: AMI_IGuild_getImpeachStatus): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getImpeachStatus");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMyGuildUnion_async(arg1: AMI_IGuild_getMyGuildUnion): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMyGuildUnion");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMySells_async(arg1: AMI_IGuild_getMySells): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMySells");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPartyDiscount_async(arg1: AMI_IGuild_getPartyDiscount): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPartyDiscount");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPartyInfo_async(arg1: AMI_IGuild_getPartyInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPartyInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public guildMail_async(arg1: AMI_IGuild_guildMail, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("guildMail");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public guildUnionAgree_async(arg1: AMI_IGuild_guildUnionAgree, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("guildUnionAgree");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public guildUnionApply_async(arg1: AMI_IGuild_guildUnionApply, arg2: int, arg3: int, arg4: Boolean, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("guildUnionApply");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public guildUnionQuit_async(arg1: AMI_IGuild_guildUnionQuit): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("guildUnionQuit");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public guildWelcome_async(arg1: AMI_IGuild_guildWelcome, arg2: EOperOption, arg3: string, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("guildWelcome");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public impeachGuildLeader_async(arg1: AMI_IGuild_impeachGuildLeader): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("impeachGuildLeader");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public invitePlayer_async(arg1: AMI_IGuild_invitePlayer, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("invitePlayer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public memberComeBack_async(arg1: AMI_IGuild_memberComeBack): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("memberComeBack");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public memberOper_async(arg1: AMI_IGuild_memberOper, arg2: int, arg3: int, arg4: EGuildPosition): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("memberOper");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            arg4.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public moveGuildWarehouseEx_async(arg1: AMI_IGuild_moveGuildWarehouseEx, arg2: string, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("moveGuildWarehouseEx");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openGuildDefense_async(arg1: AMI_IGuild_openGuildDefense, arg2: EDifficultyOption): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openGuildDefense");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openGuildEliteCopy_async(arg1: AMI_IGuild_openGuildEliteCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openGuildEliteCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openGuildRobCityOne_async(arg1: AMI_IGuild_openGuildRobCityOne): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openGuildRobCityOne");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openGuildStruggle_async(arg1: AMI_IGuild_openGuildStruggle, arg2: EDifficultyOption): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openGuildStruggle");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public operGuildWarehouse_async(arg1: AMI_IGuild_operGuildWarehouse, arg2: EGuildWarehouseOper, arg3: SPlayerItem, arg4: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("operGuildWarehouse");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            DictIntIntHelper.write(loc3, arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public raiseContribution_async(arg1: AMI_IGuild_raiseContribution, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("raiseContribution");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public replyGuildWarehouse_async(arg1: AMI_IGuild_replyGuildWarehouse, arg2: int, arg3: string, arg4: Boolean, arg5: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("replyGuildWarehouse");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeBool(arg4);
            DictIntIntHelper.write(loc3, arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public searchGuilds_async(arg1: AMI_IGuild_searchGuilds, arg2: int, arg3: string, arg4: int, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("searchGuilds");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public sellItem_async(arg1: AMI_IGuild_sellItem, arg2: int, arg3: string, arg4: int, arg5: int, arg6: int, arg7: int, arg8: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("sellItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            loc3.writeInt(arg7);
            loc3.writeBool(arg8);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public shakeGuildTree_async(arg1: AMI_IGuild_shakeGuildTree): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("shakeGuildTree");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public summonGuildAltarBeast_async(arg1: AMI_IGuild_summonGuildAltarBeast): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("summonGuildAltarBeast");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateGuild_async(arg1: AMI_IGuild_updateGuild): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateGuild");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateGuildName_async(arg1: AMI_IGuild_updateGuildName, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateGuildName");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateGuildStruture_async(arg1: AMI_IGuild_updateGuildStruture, arg2: EGuildStructureType): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateGuildStruture");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updatePlayerGuildData_async(arg1: AMI_IGuild_updatePlayerGuildData, arg2: EUpdateType, arg3: EEntityAttribute, arg4: int, arg5: int, arg6: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updatePlayerGuildData");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeString(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public upgradeGuildHouse_async(arg1: AMI_IGuild_upgradeGuildHouse): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("upgradeGuildHouse");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IGuild";
    }
